// src/utils/axios.js
import Vue from "vue";
import axios from "axios";
import VueAxios from "vue-axios";

//测试接口地址  http://localhost:3000/
//上线接口地址  http://www.zzh.zone/
axios.defaults.baseURL = "http://localhost:3000/";

Vue.use(VueAxios, axios);
//axios: 简单的网络请求库, 同ajax作用,不同的品牌而已
